/**************************************************************************************
*
*	Copyright (C) 2009 Brent Andrew O. Chua - See LICENSE.txt for more info.
*		
*	Filename	-	RenderStage.cpp
*
*	Comments	-	See RenderStage.h
*
**************************************************************************************/

#ifdef __PSX_WINDOWS_WINDOW

#include "../Include/RenderStage.h"
#include "../Include/Renderer.h"

namespace Pulse
{

	RenderStage::RenderStage( void )
		: m_pRenderer( PSX_NULL ), m_bEnabled( TRUE ), m_priority( 0 )
	{

	}

	RenderStage::~RenderStage( void )
	{

	}

	void RenderStage::SetPriority( UINT value )
	{
		m_priority = value;
		if ( m_pRenderer )
			m_pRenderer->SortRenderingStages();
	}

}

#endif __PSX_WINDOWS_WINDOW
